package com.itheima.health.service;

import com.itheima.health.pojo.OrderSetting;

import java.util.ArrayList;
import java.util.List;

public interface OrderSettingService {
    /**
     * @Author: JASON
     * @Date: 10:55 2021/1/9
     * @Parms [year, month]
     * @ReturnType: java.util.List<com.itheima.health.pojo.OrderSetting>
     * @Description:
    */
    List<OrderSetting> findByMonth(Integer year, Integer month);

    /**
     * @Author: JASON
     * @Date: 11:50 2021/1/9
     * @Parms [orderSetting]
     * @ReturnType: void
     * @Description: 设置预约人数
    */
    void editNumberByDate(OrderSetting orderSetting);

    /**
     * @Author: JASON
     * @Date: 15:28 2021/1/9
     * @Parms [orderSettings]
     * @ReturnType: void
     * @Description: 批量添加
    */
    void addAll(List<OrderSetting> orderSettings);
}
